//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.api.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@ApiModel(
        value = "(编辑对象)",
        description = "(编辑对象)"
)
public class SysAutocodeDetailEditVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(
            value = "",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.id.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.id.maxLength}"
    )
    private String id;
    @ApiModelProperty(
            value = "主表主键",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.parentId.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.parentId.maxLength}"
    )
    private String parentId;
    @ApiModelProperty(
            value = "数据库名称",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.databaseName.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.databaseName.maxLength}"
    )
    private String databaseName;
    @ApiModelProperty(
            value = "数据库描述",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.databaseDescription.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.databaseDescription.maxLength}"
    )
    private String databaseDescription;
    @ApiModelProperty(
            value = "物理类型",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.databaseType.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.databaseType.maxLength}"
    )
    private String databaseType;
    @ApiModelProperty(
            value = "数据字典",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.javaType.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.javaType.maxLength}"
    )
    private String javaType;
    @ApiModelProperty(
            value = "java名称",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.javaName.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.javaName.maxLength}"
    )
    private String javaName;
    @ApiModelProperty(
            value = "0非主键1主键",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.mainkey.notEmpty}"
    )
    @Length(
            max = 1,
            message = "{sysAutocodeDetail.mainkey.maxLength}"
    )
    private String mainkey;
    @ApiModelProperty(
            value = "列表需要展示0不需要1需要",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.list.notEmpty}"
    )
    @Length(
            max = 1,
            message = "{sysAutocodeDetail.list.maxLength}"
    )
    private String list;
    @ApiModelProperty(
            value = "0编辑不显示1编辑显示",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.edit.notEmpty}"
    )
    @Length(
            max = 1,
            message = "{sysAutocodeDetail.edit.maxLength}"
    )
    private String edit;
    @ApiModelProperty(
            value = "查询",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.search.notEmpty}"
    )
    @Length(
            max = 1,
            message = "{sysAutocodeDetail.search.maxLength}"
    )
    private String search;
    @ApiModelProperty(
            value = "匹配模式",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.searchtype.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.searchtype.maxLength}"
    )
    private String searchtype;
    @ApiModelProperty(
            value = "控件类型",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.controlType.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.controlType.maxLength}"
    )
    private String controlType;
    @ApiModelProperty(
            value = "数据来源类型",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.controlDatasourseType.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.controlDatasourseType.maxLength}"
    )
    private String controlDatasourseType;
    @ApiModelProperty(
            value = "控件数据源值",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.controlDatasourse.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.controlDatasourse.maxLength}"
    )
    private String controlDatasourse;
    @ApiModelProperty(
            value = "排序",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.orderIndex.notEmpty}"
    )
    @Length(
            max = 32,
            message = "{sysAutocodeDetail.orderIndex.maxLength}"
    )
    private String orderIndex;
    @ApiModelProperty(
            value = "校验规则",
            required = true
    )
    @NotEmpty(
            message = "{sysAutocodeDetail.rules.notEmpty}"
    )
    @Length(
            max = 200,
            message = "{sysAutocodeDetail.rules.maxLength}"
    )
    private String rules;

    public SysAutocodeDetailEditVo() {
    }

    public String getId() {
        return this.id;
    }

    public String getParentId() {
        return this.parentId;
    }

    public String getDatabaseName() {
        return this.databaseName;
    }

    public String getDatabaseDescription() {
        return this.databaseDescription;
    }

    public String getDatabaseType() {
        return this.databaseType;
    }

    public String getJavaType() {
        return this.javaType;
    }

    public String getJavaName() {
        return this.javaName;
    }

    public String getMainkey() {
        return this.mainkey;
    }

    public String getList() {
        return this.list;
    }

    public String getEdit() {
        return this.edit;
    }

    public String getSearch() {
        return this.search;
    }

    public String getSearchtype() {
        return this.searchtype;
    }

    public String getControlType() {
        return this.controlType;
    }

    public String getControlDatasourseType() {
        return this.controlDatasourseType;
    }

    public String getControlDatasourse() {
        return this.controlDatasourse;
    }

    public String getOrderIndex() {
        return this.orderIndex;
    }

    public String getRules() {
        return this.rules;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public void setParentId(final String parentId) {
        this.parentId = parentId;
    }

    public void setDatabaseName(final String databaseName) {
        this.databaseName = databaseName;
    }

    public void setDatabaseDescription(final String databaseDescription) {
        this.databaseDescription = databaseDescription;
    }

    public void setDatabaseType(final String databaseType) {
        this.databaseType = databaseType;
    }

    public void setJavaType(final String javaType) {
        this.javaType = javaType;
    }

    public void setJavaName(final String javaName) {
        this.javaName = javaName;
    }

    public void setMainkey(final String mainkey) {
        this.mainkey = mainkey;
    }

    public void setList(final String list) {
        this.list = list;
    }

    public void setEdit(final String edit) {
        this.edit = edit;
    }

    public void setSearch(final String search) {
        this.search = search;
    }

    public void setSearchtype(final String searchtype) {
        this.searchtype = searchtype;
    }

    public void setControlType(final String controlType) {
        this.controlType = controlType;
    }

    public void setControlDatasourseType(final String controlDatasourseType) {
        this.controlDatasourseType = controlDatasourseType;
    }

    public void setControlDatasourse(final String controlDatasourse) {
        this.controlDatasourse = controlDatasourse;
    }

    public void setOrderIndex(final String orderIndex) {
        this.orderIndex = orderIndex;
    }

    public void setRules(final String rules) {
        this.rules = rules;
    }
}
